@Inject('$http')
class DeviceCategoryService {

  save(param) {
    return this.$http.post('/api/v1/codeDict/deviceCategory/add', param);
  }

  update(param) {
    return this.$http.post('/api/v1/codeDict/deviceCategory/update', param);
  }
  /*eslint-disable */
  delete(ids) {
    return this.$http.post('/api/v1/codeDict/deviceCategory/delete?id=' + ids);
  }

  query(param) {
    return this.$http.post('/api/v1/codeDict/deviceCategory/query', param);
  }

}

export default DeviceCategoryService;
